import RentalIndex from '@/components/rental/index';
import RentalInfo from '@/components/rental/info';
import RentalList from '@/components/rental/list';
import RentalAdd from '@/components/rental/add';
import LeaseInfo from '@/components/lease/info';
import Flow from '@/components/lease/flow';
import Recovery from '@/components/lease/recovery';
import Comment from '@/components/lease/comment';
const base  = [
    {
        path: 'index',
        name: 'RentalIndex',
        component: RentalIndex,
    },
    {
        path: 'info/:proid',
        name: 'rentalInfo',
        component: RentalInfo,
    },
    {
        path: 'list',
        name: 'RentalList',
        component: RentalList,
    },
    {
        path: 'add',
        name: 'RentalAdd',
        component: RentalAdd,
        auth:true
    },
    {
        path: 'info',
        name: 'LeaseInfo',
        component: LeaseInfo,
    },
    {
        path: 'flow',
        name: 'Flow',
        component: Flow,
    },
    {
        path: 'recovery',
        name: 'Recovery',
        component: Recovery,
    },
    {
        path: 'comment',
        name: 'Comment',
        component: Comment,
    },

];

export default base;